namespace java flink.parquet.thrift

struct DateDimTable {
	1: optional i64 d_date_sk,
	2: optional string d_date_id,
	3: optional string d_date,
	4: optional i64 d_month_seq,
	5: optional i64 d_week_seq,
	6: optional i64 d_quarter_seq,
	7: optional i64 d_year,
	8: optional i64 d_dow,
	9: optional i64 d_moy,
	10: optional i64 d_dom,
	11: optional i64 d_qoy,
	12: optional i64 d_fy_year,
	13: optional i64 d_fy_quarter_seq,
	14: optional i64 d_fy_week_seq,
	15: optional string d_day_name,
	16: optional string d_quarter_name,
	17: optional string d_holiday,
	18: optional string d_weekend,
	19: optional string d_following_holiday,
	20: optional i64 d_first_dom,
	21: optional i64 d_last_dom,
	22: optional i64 d_same_day_ly,
	23: optional i64 d_same_day_lq,
	24: optional string d_current_day,
	25: optional string d_current_week,
	26: optional string d_current_month,
	27: optional string d_current_quarter,
	28: optional string d_current_year
}

struct StoreSalesTable {
	1: optional i64 ss_sold_date_sk,
	2: optional i64 ss_sold_time_sk,
	3: optional i64 ss_item_sk,
	4: optional i64 ss_customer_sk,
	5: optional i64 ss_cdemo_sk,
	6: optional i64 ss_hdemo_sk,
	7: optional i64 ss_addr_sk,
	8: optional i64 ss_store_sk,
	9: optional i64 ss_promo_sk,
	10: optional i64 ss_ticket_number,
	11: optional i64 ss_quantity,
	12: optional double ss_wholesale_cost,
	13: optional double ss_list_price,
	14: optional double ss_sales_price,
	15: optional double ss_ext_discount_amt,
	16: optional double ss_ext_sales_price,
	17: optional double ss_ext_wholesale_cost,
	18: optional double ss_ext_list_price,
	19: optional double ss_ext_tax,
	20: optional double ss_coupon_amt,
	21: optional double ss_net_paid,
	22: optional double ss_net_paid_inc_tax,
	23: optional double ss_net_profit
}

struct ItemTable {
	1: optional i64 i_item_sk,
	2: optional string i_item_id,
	3: optional string i_rec_start_date,
	4: optional string i_rec_end_date,
	5: optional string i_item_desc,
	6: optional double i_current_price,
	7: optional double i_wholesale_cost,
	8: optional i64 i_brand_id,
	9: optional string i_brand,
	10: optional i64 i_class_id,
	11: optional string i_class,
	12: optional i64 i_category_id,
	13: optional string i_category,
	14: optional i64 i_manufact_id,
	15: optional string i_manufact,
	16: optional string i_size,
	17: optional string i_formulation,
	18: optional string i_color,
	19: optional string i_units,
	20: optional string i_container,
	21: optional i64 i_manager_id,
	22: optional string i_product_name
}
